/*************************************************************************
	> File Name: exec.c
	> Author: Angel Criss
	> Mail: abbytsing@gmail.com 
	> Created Time: Thu 16 Jan 2014 09:53:45 AM CST
 ************************************************************************/
#include<sys/types.h>
#include<unistd.h>
#include<stdio.h>
extern char **environ;
int  main(int argc, char* argv[])
{
        pid_t pid;
        if((pid=fork())<0)
        {
            perror("cannot creat child process");
            puts("\n");
        }
        if(pid==0)
            execve("screenfetch",argv,environ);
        else
            sleep(10);
            execve("zenity-menu.sh",argv,environ);
}
